home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Add-Ons / CodeWarrior / DASM 2.0 / DASM Src.sit / SRC / UTIL.H < prev   
MacBinary  |  1997-04-16  |  1.3 KB  |  [TEXT/dosa]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Apr 16 10:09:50 1997, modified Wed Apr 16 10:09:50 1997, creator Macintosh MS-DOS file system, type ASCII, 601 bytes "UTIL.H" , at 0x2d9 410 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[dosa]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 55 54 49 4c 2e 48 | 00 00 00 00 00 00 00 00 |..UTIL.H|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 64 6f 73 | 61 01 00 00 00 00 00 00 |.TEXTdos|a.......|
|00000050| 00 00 00 00 00 02 59 00 | 00 01 9a af 7a 8e 2e af |......Y.|....z...|
|00000060| 7a 8e 2e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |z.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 07 65 00 00 |........|.....e..|
|00000080| 74 79 70 65 64 65 66 20 | 65 6e 75 6d 20 46 6f 72 |typedef |enum For|
|00000090| 6b 54 79 70 65 0d 7b 0d | 09 66 6f 72 6b 44 61 74 |kType.{.|.forkDat|
|000000a0| 61 20 3d 20 30 2c 0d 09 | 66 6f 72 6b 52 65 73 6f |a = 0,..|forkReso|
|000000b0| 75 72 63 65 0d 09 0d 7d | 20 46 6f 72 6b 54 79 70 |urce...}| ForkTyp|
|000000c0| 65 3b 0d 0d 65 78 74 65 | 72 6e 20 50 74 72 20 09 |e;..exte|rn Ptr .|
|000000d0| 67 42 75 66 66 65 72 45 | 6e 64 2c 20 67 70 45 72 |gBufferE|nd, gpEr|
|000000e0| 72 57 6f 72 64 3b 0d 0d | 69 6e 74 20 47 65 74 56 |rWord;..|int GetV|
|000000f0| 61 6c 75 65 28 20 63 68 | 61 72 20 2a 73 20 29 3b |alue( ch|ar *s );|
|00000100| 0d 63 68 61 72 20 75 70 | 70 65 72 28 63 68 61 72 |.char up|per(char|
|00000110| 20 63 29 3b 0d 76 6f 69 | 64 20 55 70 70 65 72 43 | c);.voi|d UpperC|
|00000120| 61 73 65 28 20 63 68 61 | 72 20 2a 73 2c 20 63 68 |ase( cha|r *s, ch|
|00000130| 61 72 20 2a 64 20 29 3b | 0d 63 68 61 72 20 2a 46 |ar *d );|.char *F|
|00000140| 69 6e 64 45 78 74 65 6e | 73 69 6f 6e 28 63 68 61 |indExten|sion(cha|
|00000150| 72 20 2a 73 29 3b 0d 4f | 53 45 72 72 20 46 69 6e |r *s);.O|SErr Fin|
|00000160| 64 45 4f 57 28 20 50 74 | 72 20 2a 70 74 72 61 64 |dEOW( Pt|r *ptrad|
|00000170| 72 20 29 3b 0d 4f 53 45 | 72 72 20 4e 65 78 74 57 |r );.OSE|rr NextW|
|00000180| 6f 72 64 28 20 50 74 72 | 20 2a 70 74 72 61 64 72 |ord( Ptr| *ptradr|
|00000190| 2c 20 63 68 61 72 20 2a | 77 6f 72 64 2c 20 69 6e |, char *|word, in|
|000001a0| 74 20 6d 61 78 6c 65 6e | 20 29 3b 0d 4f 53 45 72 |t maxlen| );.OSEr|
|000001b0| 72 20 4e 65 78 74 4c 69 | 6e 65 28 20 50 74 72 20 |r NextLi|ne( Ptr |
|000001c0| 2a 70 74 72 61 64 72 20 | 29 3b 0d 4f 53 45 72 72 |*ptradr |);.OSErr|
|000001d0| 20 4f 75 74 70 75 74 52 | 65 73 6f 75 72 63 65 28 | OutputR|esource(|
|000001e0| 20 46 53 53 70 65 63 20 | 2a 73 70 65 63 2c 20 48 | FSSpec |*spec, H|
|000001f0| 61 6e 64 6c 65 20 64 61 | 74 61 2c 20 52 65 73 54 |andle da|ta, ResT|
|00000200| 79 70 65 20 74 79 70 65 | 2c 20 73 68 6f 72 74 20 |ype type|, short |
|00000210| 69 64 20 29 3b 0d 4f 53 | 45 72 72 20 4c 6f 61 64 |id );.OS|Err Load|
|00000220| 46 6f 72 6b 28 20 63 6f | 6e 73 74 20 73 68 6f 72 |Fork( co|nst shor|
|00000230| 74 20 72 65 66 6e 75 6d | 2c 20 48 61 6e 64 6c 65 |t refnum|, Handle|
|00000240| 20 2a 68 20 29 3b 0d 4f | 53 45 72 72 20 46 53 70 | *h );.O|SErr FSp|
|00000250| 4c 6f 61 64 46 69 6c 65 | 28 20 63 6f 6e 73 74 20 |LoadFile|( const |
|00000260| 46 53 53 70 65 63 20 2a | 73 70 65 63 2c 20 46 6f |FSSpec *|spec, Fo|
|00000270| 72 6b 54 79 70 65 20 66 | 6f 72 6b 2c 20 48 61 6e |rkType f|ork, Han|
|00000280| 64 6c 65 20 2a 68 20 29 | 3b 0d 4f 53 45 72 72 20 |dle *h )|;.OSErr |
|00000290| 46 53 70 53 61 76 65 46 | 69 6c 65 28 20 46 53 53 |FSpSaveF|ile( FSS|
|000002a0| 70 65 63 20 2a 73 70 65 | 63 2c 20 48 61 6e 64 6c |pec *spe|c, Handl|
|000002b0| 65 20 64 61 74 61 2c 20 | 52 65 73 54 79 70 65 20 |e data, |ResType |
|000002c0| 63 72 65 61 74 6f 72 2c | 20 52 65 73 54 79 70 65 |creator,| ResType|
|000002d0| 20 74 79 70 65 20 29 3b | 0d 00 00 00 00 00 00 00 | type );|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000310| 65 67 69 6f 6e 0d 09 09 | 09 09 09 43 6c 69 70 52 |egion...|...ClipR|
|00000320| 65 63 74 28 26 63 64 2d | 3e 64 72 61 77 52 65 63 |ect(&cd-|>drawRec|
|00000330| 06 55 54 49 4c 2e 48 55 | 02 00 00 00 54 45 58 54 |.UTIL.HU|....TEXT|
|00000340| 64 6f 73 61 01 00 00 00 | 00 00 00 00 00 00 34 d0 |dosa....|......4.|
|00000350| 00 00 54 45 58 54 64 6f | 73 61 01 00 00 00 00 00 |..TEXTdo|sa......|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 02 59 00 00 01 9a 73 63 |........|.Y....sc|
|00000380| 72 65 65 6e 0d 0d 09 09 | 2f 2f 20 69 66 20 64 6f |reen....|// if do|
|00000390| 45 72 61 73 65 20 69 73 | 20 74 72 75 65 2c 20 65 |Erase is| true, e|
|000003a0| 72 61 73 65 20 74 68 65 | 20 64 72 61 77 61 62 6c |rase the| drawabl|
|000003b0| 65 20 61 72 65 61 20 62 | 65 66 6f 72 65 20 64 72 |e area b|efore dr|
|000003c0| 61 77 69 6e 67 20 74 65 | 78 74 0d 09 09 69 66 20 |awing te|xt...if |
|000003d0| 28 63 64 2d 3e 64 6f 45 | 72 61 73 65 29 0d 09 09 |(cd->doE|rase)...|
|000003e0| 7b 0d 09 09 09 43 61 6c | 6c 57 45 45 72 61 73 65 |{....Cal|lWEErase|
|000003f0| 50 72 6f 63 28 26 63 64 | 2d 3e 64 72 61 77 52 65 |Proc(&cd|->drawRe|
|00000400| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 02 | 00 02 00 2c 00 08 02 58 |........|...,...X|
|00000430| 02 5e 00 2c 00 08 02 58 | 02 5e af 78 73 5e 00 00 |.^.,...X|.^.xs^..|
|00000440| 00 0d 00 00 00 15 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|00000450| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000460| 00 00 00 46 09 a5 77 3c | 28 08 00 00 00 1c 00 46 |...F..w<|(......F|
|00000470| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000480| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000490| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+